Skip to contentSkip to conversation

New: ocl-toys smallptgpu example fails on r600

Bug 73510 [email protected] 1 participant 6 messages Jan 11, 2014 – Jul 28, 2017

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=73510

Priority: medium
Bug ID: 73510
Assignee: [email protected]
Summary: ocl-toys smallptgpu example fails on r600
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: unspecified
Component: Drivers/Gallium/r600
Product: Mesa

The smallptgpu example from here ocltoys-linux64-v1.0.zip at
http://code.google.com/p/ocltoys/downloads/list

doesn't work:

Program received signal SIGSEGV, Segmentation fault. 0x00007ffff6ab025d in clover::kernel::launch(clover::command_queue&, std::vector<unsigned long, std::allocator<unsigned long> > const&, std::vector<unsigned long, std::allocator<unsigned long> > const&, std::vector<unsigned long, std::allocator<unsigned long> > const&) ()
from /usr/lib64/libMesaOpenCL.so.1
Missing separate debuginfos, use: debuginfo-install elfutils-libelf-0.157-1.fc20.x86_64 expat-2.1.0-7.fc20.x86_64 libX11-1.6.1-1.fc20.x86_64 libXau-1.0.8-2.fc20.x86_64 libXdamage-1.1.4-4.fc20.x86_64 libXext-1.3.2-2.fc20.x86_64 libXfixes-5.0.1-2.fc20.x86_64 libXxf86vm-1.1.3-2.fc20.x86_64 libdrm-2.4.50-1.fc20.x86_64 libffi-3.0.13-5.fc20.x86_64 libgcc-4.8.2-7.fc20.x86_64 libselinux-2.2.1-6.fc20.x86_64 libstdc++-4.8.2-7.fc20.x86_64 libxcb-1.9.1-3.fc20.x86_64 llvm-libs-3.3-4.fc20.x86_64 mesa-dri-drivers-10.0.2-2.20140110.fc21.x86_64 mesa-libGL-10.0.2-2.20140110.fc21.x86_64 mesa-libOpenCL-10.0.2-2.20140110.fc21.x86_64 mesa-libOpenCL-devel-10.0.2-2.20140110.fc21.x86_64 mesa-libglapi-10.0.2-2.20140110.fc21.x86_64 ocl-icd-2.0.4-1.git20131001.4ee231e.fc20.x86_64 pcre-8.33-2.fc20.1.x86_64 systemd-libs-208-9.fc20.x86_64 xz-libs-5.1.2-6alpha.fc20.x86_64 zlib-1.2.8-3.fc20.x86_64
(gdb) bt
#0 0x00007ffff6ab025d in clover::kernel::launch(clover::command_queue&, std::vector<unsigned long, std::allocator<unsigned long> > const&, std::vector<unsigned long, std::allocator<unsigned long> > const&, std::vector<unsigned long, std::allocator<unsigned long> > const&) ()
from /usr/lib64/libMesaOpenCL.so.1
#1 0x00007ffff6aab025 in clover::event::trigger() [clone .part.32] () from /usr/lib64/libMesaOpenCL.so.1
#2 0x00007ffff6aabb48 in clover::hard_event::hard_event(clover::command_queue&, unsigned int, clover::ref_vector<clover::event> const&, std::function<void (clover::event&)>) () from /usr/lib64/libMesaOpenCL.so.1
#3 0x00007ffff6acb8c9 in clEnqueueNDRangeKernel () from /usr/lib64/libMesaOpenCL.so.1

#4  0x0000003eb62078ec in clEnqueueNDRangeKernel () from /lib64/libOpenCL.so.1
#5  0x0000000000454d7c in MandelGPU::UpdateMandel() ()
#6  0x0000000000455a84 in MandelGPU::RunToy() ()
#7  0x000000000045b1d6 in OCLToy::Run(int, char**) ()
#8  0x0000000000449057 in main ()

(gdb)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 73510] ocl-toys smallptgpu example fails on r600

https://bugs.freedesktop.org/show_bug.cgi?id=73510

--- Comment #1 from Fabian Deutsch <[email protected]> --- YOu might need to run

$ sed -i "s/^static//" *.cl

to remove the static modifier from the (inclid) cl files.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 73510] ocl-toys smallptgpu example fails on r600

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=73510

--- Comment #2 from Fabian Deutsch <[email protected]> --- This was (after clinfo) the first example which was run on Fedora 20 and mesa 10.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 73510] ocl-toys smallptgpu example fails on r600

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=73510

--- Comment #3 from Fabian Deutsch <[email protected]> --- Does r600 have floating-point support? or might this bug be because of a missing float support?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 73510] ocl-toys smallptgpu example fails on r600

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=73510

Jan Vesely <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Blocks|                            |99553

Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=99553
[Bug 99553] Tracker bug for runnning OpenCL applications on Clover

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 73510] ocl-toys smallptgpu example fails on r600

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=73510

Jan Vesely <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #4 from Jan Vesely <[email protected]> ---
This is an old bug. All ocl-toys examples run OK on my AMD TURKS (DRM 2.49.0 / 4.11.11-300.fc26.x86_64, LLVM 6.0.0).

Please reopen if you still see the issue.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel